package com.jbp.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jbp.model.SkillApplyReq;
import com.jbp.model.SkillUser;
import com.jbp.utils.PageUtils;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * 用户技能(SkillUser)表服务接口
 * @author cc
 * @since 2020-11-19 17:06:55
 */
public interface SkillUserService extends IService<SkillUser> {
    boolean isGod(Integer userId);

    void apply(Integer userId, SkillApplyReq req);

    List<SkillUser> mySkills(Integer userId);

    void editSkill(Integer userId, SkillApplyReq req);

    PageUtils queryPage(Map<String, Object> params);

    SkillUser info(Integer skillUserId, Integer userId);

    BigDecimal getPrice(Integer skill_user_id);

    PageUtils hotGods(Map<String, Object> params);
}